package com.api.shuigui.pojo;

import java.util.List;

public class PageBean<T> {
    private int totalCount;//总记录条数
    private List<T> list;
    private int currentPage;//当前页码
    private int rows;//每页显示的记录条数

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rowsl) {
        this.rows = rowsl;
    }
}